package com.boot2523.mapper;

import com.boot2523.bean.Admin;
import org.apache.ibatis.annotations.Select;

public interface AdminMapper {
    @Select(value="select * from admin where aname=#{param1} and apwd=md5(#{param2})")
    Admin one(String name, String pwd);
}
